#ifndef SCOREBOARD_H
#define SCOREBOARD_H

#include "config.h"
#include <QSqlDatabase>
#include <QSqlQuery>

namespace Ui {
class ScoreBoard;
}

class ScoreBoard : public QWidget
{
    Q_OBJECT

public:
    explicit ScoreBoard(QWidget *parent = nullptr);
    ~ScoreBoard();
    void display();
    void insert_data();
    QSqlDatabase db;
    QSqlQuery *query;
private:
    Ui::ScoreBoard *ui;
};

#endif // SCOREBOARD_H
